package com.lingx.model.impl;

import com.lingx.model.IInterpreter;
import com.lingx.model.annotation.FieldModelConfig;
import com.lingx.utils.Utils;

public abstract class AbstractInterpreter extends AbstractModel implements IInterpreter{

	private static final long serialVersionUID = 6807459315870008602L;

	@FieldModelConfig(sort="5",name="解释类型",inputType="string",editor="text")
	private String type;
	public AbstractInterpreter(String type,String name){		
		super();
		this.setCode(Utils.getRandomString(ID_LEN));
		this.setName(name);
		this.type=type;
		this.setModelType("Interpreter");
	}

	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	

}
